import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/Index'
import Hall from '@/pages/Hall/Hall'
import Company from '@/pages/Hall/Company'
import Meeting from '@/pages/Meeting/Meeting.vue'
import PPT from '@/pages/Meeting/ppt.vue'
import Product from '@/pages/Hall/Product.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/hall',
      name: 'Hall',
      component: Hall
    },
    {
      path: '/company/:id',
      name: 'Company',
      component: Company
    },
    {
      path: '/meeting',
      name: 'Meeting',
      component: Meeting
    },
    {
      path: '/ppt',
      name: 'PPT',
      component: PPT
    },
    {
      path: '/product',
      name: 'Product',
      component: Product
    }    
  ]
})
